<?php include 'header.php'; ?>


<h1>Search Results</h1>


<script type="text/javascript">

$(document).ready(function(){

$(function(){

    var data=[{"roomStandardRate":"234.99","roomTypeDescription":"King Size Deluxe - Non Smoking","smokingYN":"no"},{"roomStandardRate":"234.99","roomTypeDescription":"King Size Deluxe - Non Smoking","smokingYN":"no"},{"roomStandardRate":"234.99","roomTypeDescription":"King Size Deluxe - Non Smoking","smokingYN":"no"},{"roomStandardRate":"234.99","roomTypeDescription":"King Size Deluxe - Smoking","smokingYN":"no"},{"roomStandardRate":"234.99","roomTypeDescription":"King Size Deluxe - Smoking","smokingYN":"no"},{"roomStandardRate":"234.99","roomTypeDescription":"King Size Deluxe - Smoking","smokingYN":"no"},{"roomStandardRate":"199.99","roomTypeDescription":"King Size Standard - Non Smoking","smokingYN":"no"},{"roomStandardRate":"199.99","roomTypeDescription":"King Size Standard - Non Smoking","smokingYN":"no"},{"roomStandardRate":"199.99","roomTypeDescription":"King Size Standard - Non Smoking","smokingYN":"no"},{"roomStandardRate":"199.99","roomTypeDescription":"King Size Standard - Smoking","smokingYN":"no"},{"roomStandardRate":"199.99","roomTypeDescription":"King Size Standard - Smoking","smokingYN":"no"},{"roomStandardRate":"199.99","roomTypeDescription":"King Size Standard - Smoking","smokingYN":"no"},{"roomStandardRate":"179.99","roomTypeDescription":"Queen Size Standard - Non Smoking","smokingYN":"no"},{"roomStandardRate":"179.99","roomTypeDescription":"Queen Size Standard - Non Smoking","smokingYN":"no"},{"roomStandardRate":"179.99","roomTypeDescription":"Queen Size Standard - Non Smoking","smokingYN":"no"},{"roomStandardRate":"179.99","roomTypeDescription":"Queen Size Standard - Smoking","smokingYN":"no"},{"roomStandardRate":"179.99","roomTypeDescription":"Queen Size Standard - Smoking","smokingYN":"no"},{"roomStandardRate":"179.99","roomTypeDescription":"Queen Size Standard - Smoking","smokingYN":"no"},{"roomStandardRate":"149.99","roomTypeDescription":"Twin Beds Standard - Non Smoking","smokingYN":"no"},{"roomStandardRate":"149.99","roomTypeDescription":"Twin Beds Standard - Non Smoking","smokingYN":"no"},{"roomStandardRate":"149.99","roomTypeDescription":"Twin Beds Standard - Smoking","smokingYN":"no"},{"roomStandardRate":"149.99","roomTypeDescription":"Twin Beds Standard - Smoking","smokingYN":"no"}];
    
    var items="";
	
    $.each(data,function(index,item){
	items+="<div class='well'><table width='100%'><tr><td width='150'><img src='img/hotel.jpg' height='128' width='128'></td><td align='left'><h3>"+item.roomTypeDescription+"</h3></td><td align='right'><h3>$"+item.roomStandardRate+"/night</h3></td>	<td align='right' width='300'><input class='btn btn-primary btn-large' value='Reserve This Room'></td></tr></table></form></div>";
    });
	
    $("#content").html(items);
    
    
});

});

</script>


<div id="content">
test
</div>
	  
<?php include 'footer.php'; ?>